﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Web;

namespace wLib.Objects
{
    public class cStyleCss : IStyleController
    {

        private wlibComponent _pageInContext;
        public cStyleCss()
        {
        }
        public cStyleCss(wlibComponent pageContext)
        {
            this._pageInContext = pageContext;
        }


        #region IStyleController Members

        public void WorkItStyle(eNumComponent controlType)
        {
            switch (controlType)
            {
                case eNumComponent.wTable:
                     WorkItForWTable();
                    break;

            }
        }

        #endregion



        private void WorkItForWTable()
        {
            ////WTableDesign wtabDesign = new WTableDesign();
            //string cssForJs =     "$(document).ready(function(){ " 
            //                    + "     $(#" + this._pageInContext.ClientID + ").css(\"font-family\",\"" + this._pageInContext.Font.Names[0].ToString() + "\");"
            //                    + "});";
            //cWorkerBus.IncludeJavaScriptPortion(cssForJs, this._pageInContext);
        }





    }
}
